package com.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户权限表
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisAuthRule对象", description = "用户权限表")
public class THisAuthRule {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "规则唯一标识Controller/action")
    private String menuName;

    @ApiModelProperty(value = "菜单名称")
    private String title;

    @ApiModelProperty(value = "菜单ID ")
    private Integer pid;

    @ApiModelProperty(value = "1:是主菜单 2 否")
    @TableField("is_menu")
    private Boolean menu;

    @ApiModelProperty(value = "1:是 2:不是")
    @TableField("is_race_menu")
    private Boolean raceMenu;

    private Boolean type;

    private Boolean status;

    private String condition;

    @ApiModelProperty(value = "排序字段")
    private Integer orderList;


}
